<script setup>
import { counterStore } from '@/store/counterStore';
const counter = counterStore();
</script>
<template>
    <div>
        <h3>组件2</h3>
        <p>Count:{{ counter.count }}</p>
        
    </div>

</template>